/**
 *
 * Copyright 2015 RSVP Technologies Inc. All rights reserved.
 * DirectionBean.java
 *
 */
package com.gfinal.map.direction;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 *@author Gao Yudong (gyd@nbicc.com) 
 *@date 2015-2-28
 */
public class DirectionBean implements Serializable {
	private static final long serialVersionUID = -616600664945192453L;
	
	/**
	 * 导航模式，包括：driving（驾车）、walking（步行）、transit（公交）
	 */
	private String mode = null;
	
	/**
	 * 1-起终点模糊 2-起终点唯一
	 */
	private int type = 0;
	
	/**
	 * 起点候选列表
	 */
	private Candidate originCandidate = null;
	
	/**
	 * 终点候选列表
	 */
	private Candidate destinationCandidate = null;
	
	/**
	 * 路线列表
	 */
	private List<Route> routes = new ArrayList<Route>();
	
	/**
	 * 出租车
	 */
	private Taxi taxi = null;
	
	/**
	 * 路况评价
	 * 0：无路况；1：畅通；2：缓行；3：拥堵
	 */
	private int traffic_condition = 0;
	
	/**
	 * 唯一确定的起点
	 */
	private StartEnd origin = null;
	
	/**
	 * 唯一确定的终点
	 */
	private StartEnd destination = null;
	
	/**
	 * 公交规划
	 */
	private List<ArrayList<Scheme>> scheme = new ArrayList<ArrayList<Scheme>>();
	
	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public Candidate getOriginCandidate() {
		return originCandidate;
	}
	
	public void setOriginCandidate(Candidate originCandidate) {
		this.originCandidate = originCandidate;
	}
	
	public Candidate getDestinationCandidate() {
		return destinationCandidate;
	}
	
	public void setDestinationCandidate(Candidate destinationCandidate) {
		this.destinationCandidate = destinationCandidate;
	}

	public List<Route> getRoutes() {
		return routes;
	}

	public void setRoutes(List<Route> routes) {
		this.routes = routes;
	}

	public Taxi getTaxi() {
		return taxi;
	}

	public void setTaxi(Taxi taxi) {
		this.taxi = taxi;
	}

	public int getTraffic_condition() {
		return traffic_condition;
	}

	public void setTraffic_condition(int traffic_condition) {
		this.traffic_condition = traffic_condition;
	}

	public String getMode() {
		return mode;
	}

	public void setMode(String mode) {
		this.mode = mode;
	}

	public StartEnd getOrigin() {
		return origin;
	}

	public void setOrigin(StartEnd origin) {
		this.origin = origin;
	}

	public StartEnd getDestination() {
		return destination;
	}

	public void setDestination(StartEnd destination) {
		this.destination = destination;
	}

	public List<ArrayList<Scheme>> getScheme() {
		return scheme;
	}

	public void setScheme(List<ArrayList<Scheme>> scheme) {
		this.scheme = scheme;
	}

}
